// START WRAPPER: The YUI.add wrapper is added by the build system, when you use YUI Builder to build your component from the raw source in this file
 YUI.add("server-side-section-widget", function(Y) {

    /* Any frequently used shortcuts, strings and constants */
    var Lang = Y.Lang,
    	WidgetStdMod = Y.WidgetStdMod;
    
    var StandardModule = Y.Base.create("standardModule", Y.Widget, [Y.WidgetStdMod,Y.WidgetButtons]);

    /* ServerSideSectionWidget class constructor */
    function ServerSideSectionWidget(config) {
        ServerSideSectionWidget.superclass.constructor.apply(this, arguments);
    }

    /* 
     * Required NAME static field, to identify the Widget class and 
     * used as an event prefix, to generate class names etc. (set to the 
     * class name in camel case). 
     */
    ServerSideSectionWidget.NAME = "ServerSideSectionWidget";

    /*
     * The attribute configuration for the widget. This defines the core user facing state of the widget
     */
    ServerSideSectionWidget.ATTRS = {
    	
    };

    /* 
     * The HTML_PARSER static constant is used if the Widget supports progressive enhancement, and is
     * used to populate the configuration for the ServerSideSectionWidget instance from markup already on the page.
     */
    ServerSideSectionWidget.HTML_PARSER = {

    };
    
    /* ServerSideSectionWidget extends the base Widget class */
    Y.extend(ServerSideSectionWidget, StandardModule, {

        initializer: function() {
            /*
             * initializer is part of the lifecycle introduced by 
             * the Base class. It is invoked during construction,
             * and can be used to setup instance specific state or publish events which
             * require special configuration (if they don't need custom configuration, 
             * events are published lazily only if there are subscribers).
             *
             * It does not need to invoke the superclass initializer. 
             * init() will call initializer() for all classes in the hierarchy.
             */
        },

        destructor : function() {
            /*
             * destructor is part of the lifecycle introduced by 
             * the Widget class. It is invoked during destruction,
             * and can be used to cleanup instance specific state.
             *
             * Anything under the boundingBox will be cleaned up by the Widget base class
             * We only need to clean up nodes/events attached outside of the bounding Box
             *
             * It does not need to invoke the superclass destructor. 
             * destroy() will call initializer() for all classes in the hierarchy.
             */
        },

        renderUI : function() {
            /*
             * renderUI is part of the lifecycle introduced by the
             * Widget class. Widget's renderer method invokes:
             *
             *     renderUI()
             *     bindUI()
             *     syncUI()
             *
             * renderUI is intended to be used by the Widget subclass
             * to create or insert new elements into the DOM. 
             */
        },

        bindUI : function() {
            /*
             * bindUI is intended to be used by the Widget subclass 
             * to bind any event listeners which will drive the Widget UI.
             * 
             * It will generally bind event listeners for attribute change
             * events, to update the state of the rendered UI in response 
             * to attribute value changes, and also attach any DOM events,
             * to activate the UI.
             */
        },

        syncUI : function() {
            /*
             * syncUI is intended to be used by the Widget subclass to
             * update the UI to reflect the initial state of the widget,
             * after renderUI. From there, the event listeners we bound above
             * will take over.
             */
        }
    });

    Y.namespace("M3958").ServerSideSectionWidget = ServerSideSectionWidget;

 }, "0.0.1", {requires:["base","widget","widget-stdmod","widget-buttons", "substitute","array-extras"]});

 
 
 
 